package com.baomidou.springboot.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springboot.entity.Activity;
import com.baomidou.springboot.entity.Notice;

import java.util.List;

/**
 * <p>
 * 专题活动 服务类
 * </p>
 *
 * @author QQQ
 * @since 2018-06-19
 */
public interface ActivityService {

    void save(Activity activity);

    void delete(String id);

    Activity edit(String id);

    void update(Activity activity);

    Activity view(String id);

    Page<Activity> list(Page<Activity> page, String search);

    void deleteBatch(List<String> ids);

    List<Activity> findByLimit(Integer limit);
}
